Package com.cisco.pt.ipc.sim.pdu.impl
Class CDPVoipVlanImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
com.cisco.pt.ipc.sim.pdu.impl.PduImpl
com.cisco.pt.ipc.sim.pdu.impl.CDPTypeLengthValueImpl
com.cisco.pt.ipc.sim.pdu.impl.CDPVoipVlanImpl
- All Implemented Interfaces:
IPCData,CDPTypeLengthValue,CDPVoipVlan,Pdu,Signal
-
Field Summary
FieldsFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.CDPTypeLengthValueImpl
cdpLength, cdpTypeFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
fieldNames, fieldTable, signalType, typeTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeTypeAndPayload(EncodedBuffer buffer) getFieldType(String fieldName) intgetVlan()voidpduRead(EncodedBuffer buffer) voidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidsetVlan(int vlan) Methods inherited from class com.cisco.pt.ipc.sim.pdu.impl.CDPTypeLengthValueImpl
getCdpLength, getCdpType, setCdpLength, setCdpTypeMethods inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
getFieldValueMethods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.sim.pdu.CDPTypeLengthValue
getCdpLength, getCdpType, setCdpLength, setCdpTypeMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
getFieldValue
-
Field Details
-
vlan
protected int vlan
-
-
Constructor Details
-
CDPVoipVlanImpl
public CDPVoipVlanImpl()
-
-
Method Details
-
getVlan
public int getVlan()- Specified by:
getVlanin interfaceCDPVoipVlan- Returns:
- int Returns a int
-
setVlan
public void setVlan(int vlan) - Specified by:
setVlanin interfaceCDPVoipVlan- Parameters:
vlan- Takes in a parameter of vlan
-
getFieldType
- Overrides:
getFieldTypein classCDPTypeLengthValueImpl
-
read
Reads this object from an EncodedBuffer of raw data- Specified by:
readin interfaceIPCData- Overrides:
readin classCDPTypeLengthValueImpl- Parameters:
buffer- The EncodedBuffer that contains the raw data from which to construct this object
-
pduRead
- Specified by:
pduReadin interfaceSignal- Overrides:
pduReadin classCDPTypeLengthValueImpl
-
getOrderedFieldNames
- Specified by:
getOrderedFieldNamesin interfaceSignal- Overrides:
getOrderedFieldNamesin classCDPTypeLengthValueImpl
-
encodeTypeAndPayload
- Specified by:
encodeTypeAndPayloadin interfaceSignal- Overrides:
encodeTypeAndPayloadin classCDPTypeLengthValueImpl
-